home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / gpolygon.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  911 b   |  29 lines

  1. .TH GPOLYGON
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. GPOLYGON
  5.  
  6.  
  7.  
  8.  PolygonType GPOLYGON( GeometryTreeType Object, NumericType Normals )
  9.  
  10. Approximates all Surface(s)/Trimmed surface(s)/Trivariate(s) in Object
  11. with polygons using the RESOLUTION and FLAT4PLY variables. The larger the
  12. RESOLUTION is, the finer (more polygons) the resulting approximation will be.
  13.  
  14. FLAT4PLY is a Boolean flag controlling the conversion of an (almost) flat
  15. patch into four (TRUE) or two (FALSE) polygons. Normals are computed to
  16. polygon vertices using surface normals, so Gouraud or Phong shading can be
  17. exploited. It returns a single polygonal object.
  18.  
  19. If Normals is set, surface normals will be evaluated at the
  20. vertices. Otherwise flat shading and constant normals across polygons are
  21. assumed.
  22.  
  23. Example:
  24.  
  25.     Polys = GPOLYGON( list( Srf1, Srf2, Srf3 ), off );
  26.  
  27. Converts to polygons the three surfaces Srf1, Srf2, and Srf3
  28. with no normals.
  29.